﻿using System.ComponentModel.DataAnnotations;

namespace OpenAdmin.Application.Services.Dtos
{
    /// <summary>
    /// 登录参数
    /// </summary>
    public class LoginRequestDto
    {
        /// <summary>
        /// 用户名
        /// </summary>
        [Required(ErrorMessage = "请输入用户名！")]
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        [Required(ErrorMessage = "请输入密码！")]
        public string Password { get; set; }
    }
}
